@layout("/common/_form.html",{js:["/assets/manager/flowServiceDistancePrice/flowServiceDistancePrice_add.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){

<form class="layui-form" id="flowServiceDistancePriceForm" lay-filter="flowServiceDistancePriceForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="distancePriceId" type="hidden"/>
                    <input name="storeCityId" id="storeCityId" type="hidden" />
                    <input name="serviceTypeId" id="serviceTypeId" type="hidden" />
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">每公里费用<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="distancePrice" name="distancePrice" placeholder="请输入数字" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">起步公里<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="distanceBegin" name="distanceBegin" placeholder="请输入起步公里" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">结束公里</label>
                        <div class="layui-input-block">
                            <input id="distanceEnd" name="distanceEnd" placeholder="若大于起步公里就按该价格，请留空或-1" type="text" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">类型</label>
                        <div class="layui-input-block">
                            <select id="type" name="type" lay-filter="type">
                                <option value="0">按实际公里数算，例：7公里=7*每公里费</option>
                                <option value="1">按结束公里数算，例：出租车8公里内*元</option>
                            </select>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}